package com.dlc.shop.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlc.shop.bean.model.SkuLang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author lhd
 * @date 2020-08-31 13:54:58
 */
public interface SkuLangMapper extends BaseMapper<SkuLang> {

    /**
     * 根据商品id删除sku语言表
     * @param prodId 商品id
     */
    void deleteByProdId(@Param("prodId") Long prodId);

    /**
     * 批量更新
     * @param skuLangList
     */
    void batchUpdateBySkuIdAndLang(@Param("skuLangList") List<SkuLang> skuLangList);
}
